<if condition="$uid eq 0 and $Request.module eq 'index' and $Request.controller neq 'Promote'">
    <include file="../template/default/index/public/tologin.html"/>
</if>

<div class="topBar">
    <div class="w1200 mc cl">
        <div class="tel fl">
            <span class="mr20 fl"><i class="iconFont">&#xe600;</i>客服热线：{:config('website_tel_400')}（9:00~18:00周一到周五）</span>
        </div>
        <div class="fr">

            <if condition="$uid gt 0">
                <a href="{:url('user/index/index')}" class="login"> <span style="float: left">{:session('user_auth.username')}</span></a>
                <a href="{:url('user/passport/logout')}" class="logout">退出</a>
                <a href="{:url('user/invested/index')}" class="mr10 pl10">订单管理</a>
                <a href="{:url('user/withdraw/index')}" target="_blank">提现</a>
                <a href="{:url('user/recharge/index')}" target="_blank">充值</a>
                <else/>
                <if condition="$Request.module eq 'index'">
                    <a href="javascript:void(0);" onclick="to_login(this);" class="login">登录</a>
                    <else/>
                    <a href="{:url('user/passport/login')}" class="login">登录</a>
                </if>
                <a href="{:url('user/passport/register')}" class="lastChild">立即注册</a>
            </if>

            <a href="{:url('user/promote/index')}">推广返佣</a>
        </div>
    </div>
</div>

<div class="head">
    <div class="w1200 mc cl">
        <a href="/" class=" fl"><img src="__IMG__/logo.png" style="height: 80px;margin-top: 5px;"/></a>

        <ul class="nav fl" style="margin-left: 60px;">

            <!--class="on"-->

            <volist name="top_nav" id="v">
                <li><a href="{$v.url}" title="{$v.title}">{$v.title}</a></li>
            </volist>

        </ul>


    </div>
</div>
